]> dgit.raspbian.org Git - gnome-shell.git/commit
search: Do not use terms class variable after awaiting
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 17 Feb 2026 14:12:59 +0000 (15:12 +0100)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Tue, 17 Feb 2026 14:12:59 +0000 (15:12 +0100)
commite89be4e9fc013b6971f89998f39754198fd5aa78
tree7661b63e01c6cb7133c340602ff1106ba980c2a9
parent929c8b821d3b5f5e787d8f1349134ab3e1a4a46a
search: Do not use terms class variable after awaiting

The terms may have been changed after awaiting, so rather than relying
on the local variable, just pass the value to the functions using them

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4080>
js/ui/search.js